import { QrChannel } from '@shared/interfaces/acquirer'
import { Validators } from '@angular/forms'
import { Injectable } from '@angular/core'
import { I18NService } from '@core'

@Injectable()
export class TRUService {
  constructor() {}

  genTRUalidateRules = (channel: QrChannel): { [key: string]: any } => {
    return {
      id: [null, []],
      chanCode: [channel && channel.chanCode, [Validators.required]],
    }
  }

}
